package com.hpc.VO;

import lombok.*;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class fileUploadVo {
    private int errno;//状态码，1为上传错误，0为上传成功
    private data data;
    public static fileUploadVo success(String imageUrl){
        return new fileUploadVo(0,new data(imageUrl,"",""));
    }
}
@Data
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
class data{
    private String url;
    private String alt;
    private String href;
}
